home *** CD-ROM | disk | FTP | other *** search
/ Mac Expert 1995 Winter / Mac Expert - Winter 95.iso / Les fichiers / Communications / Divers / DialScript 1.7.1 ƒ / Examples / DelayNext.ds < prev    next >
Encoding:
Text File  |  1994-03-08  |  381 b   |  15 lines  |  [TEXT/dIsR]

  1. script DelayNext
  2.                 -- Execution begins at the first state-- "one" in this case
  3.    state one
  4.       display "I'll wait ten seconds and then go to the next state\r";
  5.       delay 10;
  6.       next "two";
  7.       display "This statement never gets executed\r";
  8.    end;
  9.  
  10.    state two
  11.       display "I am at state two\r";
  12.    end;    -- Script terminates when it hits "end"
  13.  
  14. end;
  15.